package SmartHome.entity;


/**
 * ClassName : Administrator
 * Description :
 * Author : Wang Beijia
 * Date: 2021-07-06 23:53
 */
public class Administrators {
    private int AdminId;
    private String AdminPassword;
    private boolean AdminType;

    public int getAdminId() {
        return AdminId;
    }

    public void setId(int AdminId) {
        this.AdminId = AdminId;
    }


    public String getAdminPassword() {
        return AdminPassword;
    }

    public void setAdminPassword(String AdminPassword) {
        this.AdminPassword = AdminPassword;
    }

    public boolean isAdminType() {
        return AdminType;
    }

    public void setAdminType(boolean AdminType) {
        this.AdminType = AdminType;
    }

    public Administrators() {
    }

    public Administrators(int AdminId, String AdminPassword, boolean AdminType) {
        this.AdminId = AdminId;
        this.AdminPassword = AdminPassword;
        this.AdminType = AdminType;
    }

    @Override
    public String toString() {
        return "AdminInfo{" +
                "AdminId=" + AdminId +
                ", AdminPassword='" + AdminPassword + '\'' +
                ", AdminType='" + AdminType + '\'' +
                '}';
    }
}
